package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by lyli on 2017/10/10.
 */

public class SubjectModel {


    /**
     * success : 1
     * categories : [{"id":"1","name":"教育学","biaoqian":[{"name":"教育"},{"name":"教育学的发展"},{"name":"教育与个体发展"},{"name":"教育与社会发展"},{"name":"教育目的"}],"icon":"http://iweishi.cn/files/tmp/2017/10-12/143535765320171839.png","questions":"57","do_questions":"41"},{"id":"2","name":"教育心理学","biaoqian":[{"name":"教育心理学概述"},{"name":"学生的心理发展与教育"},{"name":"学习概述"},{"name":"学习理论"}],"icon":"http://iweishi.cn/files/tmp/2017/10-12/143545127a6a303609.png","questions":"0","do_questions":"0"},{"id":"3","name":"心理学","biaoqian":[],"icon":"http://iweishi.cn/files/tmp/2017/10-12/1435506d0204523701.png","questions":"0","do_questions":"0"},{"id":"4","name":"公共基础知识","biaoqian":[],"icon":"http://iweishi.cn/files/tmp/2017/10-12/1436011307ba655903.png","questions":"0","do_questions":"0"},{"id":"5","name":"教育法律法规","biaoqian":[],"icon":"http://iweishi.cn/files/tmp/2017/10-12/14360880c6c2132093.png","questions":"0","do_questions":"0"},{"id":"6","name":"教育职业道德","biaoqian":[],"icon":"http://iweishi.cn/files/tmp/2017/10-12/1436215b0161171666.png","questions":"0","do_questions":"0"},{"id":"7","name":"公基常识","biaoqian":[{"name":"法律"},{"name":"马克思主义原理"},{"name":"毛泽东思想"}],"icon":"http://iweishi.cn/files/tmp/2017/10-12/143647f47ead937314.png","questions":"9","do_questions":"2"}]
     */

    private int success;
    private List<CategoriesBean> categories;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public List<CategoriesBean> getCategories() {
        return categories;
    }

    public void setCategories(List<CategoriesBean> categories) {
        this.categories = categories;
    }

    private String last_create_day;
    private String weektime;


    public String getLast_create_day() {
        return last_create_day;
    }

    public void setLast_create_day(String last_create_day) {
        this.last_create_day = last_create_day;
    }

    public String getWeektime() {
        return weektime;
    }

    public void setWeektime(String weektime) {
        this.weektime = weektime;
    }

    public static class CategoriesBean {
        /**
         * id : 1
         * name : 教育学
         * biaoqian : [{"name":"教育"},{"name":"教育学的发展"},{"name":"教育与个体发展"},{"name":"教育与社会发展"},{"name":"教育目的"}]
         * icon : http://iweishi.cn/files/tmp/2017/10-12/143535765320171839.png
         * questions : 57
         * do_questions : 41
         */

        private String id;
        private String name;
        private String icon;
        private String questions;
        private String do_questions;
        private List<BiaoqianBean> biaoqian;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getQuestions() {
            return questions;
        }

        public void setQuestions(String questions) {
            this.questions = questions;
        }

        public String getDo_questions() {
            return do_questions;
        }

        public void setDo_questions(String do_questions) {
            this.do_questions = do_questions;
        }

        public List<BiaoqianBean> getBiaoqian() {
            return biaoqian;
        }

        public void setBiaoqian(List<BiaoqianBean> biaoqian) {
            this.biaoqian = biaoqian;
        }

        public static class BiaoqianBean {
            /**
             * name : 教育
             */

            private String name;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
